package com.gc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Administrator on 2018/9/21 0021.
 */
@Controller
public class PageController {

    @RequestMapping("to/{page}")
    public  String topage(@PathVariable("page")String page){
        return page;
    }
}
